package com.cdu.supermarket.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cdu.supermarket.entity.domain.GoodsAttribute;
import com.cdu.supermarket.entity.domain.GoodsAttributeOption;


import java.util.List;

public interface IGoodsAttributeService extends IService<GoodsAttribute> {
    List<GoodsAttribute> listByCategoryId(Long categoryId);
    void saveBatchOptions(Long attrId, List<String> options);
    List<GoodsAttributeOption> getAttributeOptions(Long attrId);
}